export interface Product {
    productid : string,
    category : string,
    name : string,
    descn :string,
    descnn : string
}
export interface ProductData {
    data: [Product]
}
export interface Item {
    attr1 : string,
    itemid : string,
    listprice: number,
    product : null | Product,
    productid : string,
    qty : number,
    unitcost : number
}
export interface ItemData {
    data : [Item]
}
export interface Address{
    id : number,
    username : string,
    name : string,
    province : string,
    city : string,
    district : string,
    address : string
}
export interface AddressData {
    data : [Address]
}
export interface Account {
    userid : string,
    email : string,
    phone : string,
    password : string
}
export interface Cart {
    username : string,
    descn : string,
    listprice : number,
    num : number,
    itemId : string,
    productName : string,
    totalcost : number | null,
    productId : string
}
export interface CartData {
    data : [Cart]
}
export interface Order {
    id : number,
    username : string,
    descn : string,
    productid : string,
    itemId : string,
    num : number,
    total_cost : string,
    address : string,
    productname : string,
    isdelivery : number
}
export interface OrderData {
    data : [Order]
}
